﻿using System.Collections.Generic;

namespace BIStudio.Framework.Log
{
    public interface ILog
    {
        /// <summary>
        /// 写日志
        /// </summary>
        /// <param name="info"></param>
        void WriteLog(STDLog info);

        /// <summary>
        /// 根据条件读日志
        /// </summary>
        /// <param name="condtion"></param>
        /// <returns></returns>
        List<STDLog> ReadLogs(LogCondtiton condtion);
    }
}